package global

import (
	"dc-go/config"
	"regexp"

	"github.com/go-redis/redis/v8"
	"github.com/mojocn/base64Captcha"
	"github.com/spf13/viper"
	"go.uber.org/zap"
	"gorm.io/gorm"
)

var Store = base64Captcha.DefaultMemStore

var (
	DcConfig      config.Config
	DcViper       *viper.Viper
	DcLogger      *zap.Logger
	DcDb          *gorm.DB
	DcRedis       *redis.Client
	DcServeUpload = "upload"
	DcServeAvatar = "avatar"
	DcServeFile   = "file"
	DcServeLogo   = "logo"
	DcServeBanner = "banner"
	DcSqlParamReg *regexp.Regexp
)
